package jp.gr.java_conf.ryz.summarize.client;

import jp.gr.java_conf.ryz.summarize.client.presenter.SummarizePresenter;
import jp.gr.java_conf.ryz.summarize.client.presenter.SummarizePresenterImpl;
import jp.gr.java_conf.ryz.summarize.client.view.SummarizeView;
import jp.gr.java_conf.ryz.summarize.client.view.SummarizeViewImpl;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Summarize implements EntryPoint
{	
	/**
	 * This is the entry point method.
	 */
	@Override
	public void onModuleLoad()
	{
		SummarizeView view = new SummarizeViewImpl();
		SummarizePresenter presenter = new SummarizePresenterImpl(view);
		view.setPresenter(presenter);
		RootPanel.get("baseContainer").add(view);
	}
}
